package work.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import work.entity.Entering;
import work.repository.EnteringRepository;
import work.service.EnteringService;

@Service
public class EnteringServiceImpl implements EnteringService {

    @Autowired
    private EnteringRepository enteringRepository;

    @Override
    public int insertEntering(Entering entering) {
        return enteringRepository.insertEntering(entering);
    }
}
